﻿<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
</head>
<div id ="mainPage">
	<?php echo $this->action('menu','index','default')?>
	<?php echo $this->action('account','user','LuyenUser');?>
	<link rel="stylesheet" type="text/css" href="/public/css/user/form.css" />
	<div class="rightCenter">
		<div class="img">			
				&nbsp;&nbsp;Tra cứu đơn hàng.
		</div>
		<p>Danh sách các đơn hàng đã đặt mua</p>
		<table id= "tableOrder" width="100%" border="1" style="border-collapse: collapse;border-color:#749bce;">
			<tr>
				<th>Số hiệu đơn hàng</th>
				<th>Thời gian</th>
				<th>Tình trạng xử lý</th>
				<th>Xem</th>
			</tr>
			<? $order = $this->data;
			foreach ($order as $x){ ?>
				<tr>
					<td align ="center">No<?=$x['o_id']?></td>
					<td><?=$x['o_ngaydat']?></td>
					<td><?=$x['os_ten']?></td>
					<td><a href="http://shoppingcartcnpm.orgfree.com/index.php/LuyenUser/order/orderview?order_id=<?=$x['o_id']?>">xem chi tiet </a></td>
				</tr>
			
			<?}?>
		</table>
	</div>
	<div id="footer">
		<br/>
		<br/>
		<hr/> 
		<p>Copyright &copy; 2010 Zend Framework 1.8. All rights reserved.<br>Powered by Group 17,Software Engineering K51 </p>	
		<br>
	</div>	
</div>